package com.realife.eson.common.enums;

import lombok.Getter;

/**
 * @version V1.0
 * @author: guangcheng
 * @date: 2022/3/10 16:23
 * @description:
 */
@Getter
public enum BusinessTipsEnums {

    LABEL_NULL_ERR(30000, "导入逻辑子系统的用户标签不能为空"),
    ADD_LABEL_FOR_ACCOUNT_TO_META_OK(30001, "平台用户导入子系统成功"),
    REMOVE_LABEL_FROM_META_OK(30002, "从领域业务层(MetaSys)移除标签成功"),
    UPDATE_DATA_OK(30003, "数据更新成功"),
    ALLOT_ROLE_TO_ACCOUNT_OK(30004, "给账户分配角色成功"),
    REMOVE_ROLE_FROM_ACCOUNT_OK(30005, "移除账户角色成功"),
    ADD_ROLE_TO_ACCOUNT_OK(30005, "添加账户角色成功"),
    LIST_DATA_OK(30005, "拉取数据成功"),
    ADD_DATA_OK(30006, "新增数据成功"),


    ;

    private Integer code;
    private String msg;

    BusinessTipsEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}

